package com.ruoyi.enterprise.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 企业信息对象 gc_enterprise
 *
 * @author ruoyi
 * @date 2025-05-06
 */
@ApiModel
public class Enterprise extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 企业名称 */
    @Excel(name = "企业名称")
    @ApiModelProperty(value = "企业名称")
    private String name;

    /** 社会信用代码 */
    @Excel(name = "社会信用代码")
    @ApiModelProperty(value = "社会信用代码")
    private String code;

    /** 企业类型 */
    @Excel(name = "企业类型")
    @ApiModelProperty(value = "企业类型")
    private String type;

    /** 企业联系人 */
    @Excel(name = "企业联系人")
    @ApiModelProperty(value = "企业联系人")
    private String contacts;

    /** 联系电话 */
    @Excel(name = "联系电话")
    @ApiModelProperty(value = "联系电话")
    private String mobile;

    /** 状态 1=开业，2=停业 */
    @Excel(name = "状态 1=开业，2=停业")
    @ApiModelProperty(value = "状态 1=开业，2=停业")
    private Long status;

    private Long ennum;

    public void setEnnum(Long ennum)
    {
        this.ennum = ennum;
    }
    public Long getEnnum()
    {
        return ennum;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setContacts(String contacts)
    {
        this.contacts = contacts;
    }

    public String getContacts()
    {
        return contacts;
    }
    public void setMobile(String mobile)
    {
        this.mobile = mobile;
    }

    public String getMobile()
    {
        return mobile;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("code", getCode())
            .append("type", getType())
            .append("contacts", getContacts())
            .append("mobile", getMobile())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .toString();
    }
}
